import { UserInfo } from './commonComp/InterfaceCom';
import { AreaName } from './EventName';
import { WssCom } from './net/WssCom';
import { WssComAD } from './net/WssComAD';



export class GlobalVar {
    public static token: string = null;
    public static userInfo: UserInfo = null;


    public static wss: WssCom = null;
    public static wssAD: WssComAD = null;

    public static isWssReady: boolean = false;

    public static receiveAddress: string = "UQBhRGJNn4czI3IVoO3mVjiji7oeRHiMQUWPmNSPmeyexOXW";


    public static areaNames =  [AreaName.BILL,AreaName.DESERT,AreaName.FOREST,AreaName.GOBI,AreaName.MINE,AreaName.PLAINS,AreaName.SNOWY,AreaName.VOLCANO]

    public static areaIndex: number = 0;
}


